<?php

class pcomment extends CActiveRecord
{
	public static function model($className = __CLASS__ )
	{
		return parent::model($className);
	}
	
	function scopes()
	{
		return array(
			"enable" => array("condition"=>"enable = 1 "),
			"disable" => array("condition"=>"enable = 0 "),
		);
	}
}
